package com.example.demo.study;

public class study03 {
    public static void main(String[] args) {
        int [] numbers={1,2,3,4,5};
        for (int x:numbers){

            System.out.println(x);
            System.out.println(numbers[x]);
        }
    }
}
